package entity;

import javax.xml.crypto.Data;

public class PurchaseRecord {
    private  int id;//记录id
    private String userId;//用户id
    private String commodityId;//商品id
    private double buyMoney;//消费金额
    private Data buyDate;//购买时间


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId;
    }

    public double getBuyMoney() {
        return buyMoney;
    }

    public void setBuyMoney(double buyMoney) {
        this.buyMoney = buyMoney;
    }

    public Data getBuyDate() {
        return buyDate;
    }

    public void setBuyDate(Data buyDate) {
        this.buyDate = buyDate;
    }
}
